package cifg;

import com.iid.flappybird.R;


import android.widget.ImageView;
import android.widget.TextView;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.viewholder.BaseViewHolder;
import cifgb.CSSDBEAN;


public class SKINADATPET extends BaseQuickAdapter<CSSDBEAN, BaseViewHolder> {

    public SKINADATPET() {
        super(R.layout.item_skin_layout);
    }

    @Override
    protected void convert(BaseViewHolder helper, CSSDBEAN skinBean) {
        ImageView img_itemIcon = helper.getView(R.id.img_itemIcon);
        TextView tv_itenName = helper.getView(R.id.tv_itenName);
        img_itemIcon.setBackgroundResource(skinBean.skin_img_id);
        tv_itenName.setText(skinBean.skin_name_str);
    }
}
